package com.baylor.server.base.util;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * 取userSeeting.properties中的属性
 * @author hchen
 *
 */
@Component("userSettingConfig")
public class UserSettingConfig {
	@Value("${anotherWebService}")
	private String anotherWebService;
	@Value("${appScanUrl}")
	private String appScanUrl;
	@Value("${mobileUrl}")
	private String mobileUrl;
	@Value("${chinaCn}")
	private String chinaCn;
	@Value("${chinaEn}")
	private String chinaEn;
	@Value("${internationalCn}")
	private String internationalCn;
	@Value("${internationalEn}")
	private String internationalEn; 
	@Value("${qrcodeSize}")
	private String qrcodeSize;
	
	
	// smtp服务器
	@Value("${mail.hostName}")
	private String hostName ;
	// 帐号与密码
	@Value("${mail.userName}")
	private String userName;
	@Value("${mail.password}")
	private String password;
	// 发件人
	@Value("${mail.fromAddress}")
	private String fromAddress;
	
	public String getHostName() {
		return hostName;
	}
	public String getUserName() {
		return userName;
	}
	public String getPassword() {
		return password;
	}
	public String getFromAddress() {
		return fromAddress;
	}
	public String getAnotherWebService() {
		return anotherWebService;
	}
	public String getAppScanUrl() {
		return appScanUrl;
	}
	public String getMobileUrl() {
		return mobileUrl;
	}
	public String getChinaCn() {
		return chinaCn;
	}
	public String getQrcodeSize() {
		return qrcodeSize;
	}
	public String getChinaEn() {
		return chinaEn;
	}
	public String getInternationalCn() {
		return internationalCn;
	}
	public String getInternationalEn() {
		return internationalEn;
	}
	
}
